<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人账户开户 </title>
    <link  href=".././css/accountManage.css" rel="stylesheet" type="text/css"/>
    <link href=".././css/font-awesome.css" rel="stylesheet">
    <script type="text/javascript" src=".././js/jquery-1.10.1.min.js"></script>
    <script type="text/javascript" src=".././js/google-maps.js"></script>
    <link  href=".././css/tools.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src=".././js/tools.js"></script>
    <script src=".././js/jquery.js"></script>
    <script>$(document).ready(function() {$(".vertical-nav").verticalnav({speed: 400,align: "left"});});</script>
</head>
<body>
<div id="Container">
    <div id="Header">
        <center><h1>股票交易系统后台管理</h1></center>
    </div>
    <div id="Content">
        <div id="Content-Left">
            <ul class="vertical-nav dark red">
                <li class="active"><a href=".././index.html"><i class="icon-home"></i>首页</a></li>
                <li><a href="../html/accountManage.html"><i class="icon-cogs"></i>证券账户管理
                    <span class="submenu-icon"></span></a>
                    <ul>
                        <li><a href=".././html/personRegister.html">个人账户开户</a></li>
                        <li><a href=".././html/coporationRegister.html">法人账户开户</a></li>
                        <li><a href=".././html/logoutAccount.html">挂失账户</a></li>
                        <li><a href=".././html/lossAccount.html">注销账户信息</a></li>
                        <li><a href=".././html/AccountStateQuery.html">查询账户状态</a></li>
                        <li><a href="../html/accountManage.html">查询账户信息</a></li>
                        <li><a href="../html/accountCheckAndQuery.html">查看并审核未审核客户信息</a></li>
                    </ul>
                </li>
                <li><a href=" "><i class="icon-briefcase"></i>资金账户管理
                    <span class="submenu-icon"></span></a>
                    <ul>
                        <li><a href="./fund/Accountnew.html">创建新资金用户</a></li>
                    </ul>
                </li>
                <li><a href="  "><i class="icon-user"></i>关于我们</a></li>
                <li><a href="  "><i class="icon-envelope"></i>联系我们</a></li>
            </ul>
        </div>
        <div id="Content-Right">
            <div  id="toolbar" class="toolbar">
                <h2 class="title">创建法人账户</h2>
            </div>
            <!-- 数据修改面板-->
            <div  id="editPanel" style="overflow-x: hidden;margin: 0;padding:0;">
                <form id="lRegform" >
                    <table class="edittable" style="width:900px">
                        <tr style="height:0px;border: 0px;">
                            <td class="right" style="width:130px;border: 0px;"></td>
                            <td class="left" style="width:310px;border: 0px;"></td>
                            <td class="right" style="width:130px;border: 0px;"></td>
                            <td class="left" style="border: 0px;"></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;"><p>注册登记号：</p></td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="lValidRegisterTime" id="lAccountRegisterNumber" /></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">营业执照号码：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="lBusinessLicenserNumber"id="lBusinessLicenserNumber" /></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">法人姓名：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="lName" id="lName" /></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;"> 法人身份证号：</td>
                            <td class="left" style="width:310px;border: 0px;"> <input type="text" name="lIdNumber" id="lIdNumber"/></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">法人联系电话：</td>
                            <td class="left" style="width:310px;border: 0px;"> <input type="text" name="lPhoneNumber" id="lPhoneNumber"/></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">法人联系地址：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="lContactAddress"id="lContactAddress" /></td>
                        </tr>
                        <tr>
                            <td>授权人姓名：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="authorizerName" id="authorizerName" /></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">授权人身份证号：</td>
                            <td class="left" style="width:310px;border: 0px;"> <input type="text" name="authorizerIdNumber" id="authorizerIdNumber"/></td>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;"> 授权人联系电话：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="authorizerPhoneNumber" id="authorizerPhoneNumber"/></td>>
                        </tr>
                        <tr>
                            <td class="right" style="width:130px;border: 0px;">授权人联系地址：</td>
                            <td class="left" style="width:310px;border: 0px;"><input type="text" name="authorizerContactAddress"id="authorizerContactAddress" /></td>
                        </tr>

                        <tr  width="2">
                            <td class="right" style="width:130px;border: 0px;"><input type="submit" value="注册" onlcik="save()" /></td>
                            <td class="left" style="width:310px;border: 0px;"><input type="reset"  value="重置"  onclick=""/></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div id="Footer"> <p></font>COPYRIGHT2017-2017 &copy;<BR></font></p></div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    function save() {
        var fdata = $("#lRegform").serialize();
        $.param(fdata);
        $.ajax({
            url: "../securityAccount/l",
            type: "POST",
            data: fdata,
            // processData:false,et=utf-8",
            dataType: "json",
            success: function (data) {
                alert(data);
                alert("abc");
                //var obj=eval("("+result+")");
                //或者$.parsejson(data);
                if (data.code == 0) {
                    alert(data.object);
                } else if (data.code == 1) {
                    alert(data.message);
                }
            }
        });
    }
</script>